package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.qk.domain.business.BusinessDo;
import com.qk.domain.business.BusinessPoolDto;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessOverViewVo;
import com.qk.vo.business.BusinessVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    Page<BusinessVo> getBusiness(BusinessDo bd);

    BusinessVo getBusinessById(Integer id);

    Page<BusinessVo> pool(BusinessPoolDto bpd);

    BusinessOverViewVo businessOverview();
}
